package SC12Project.Milestone2.SearchEngine;

import java.rmi.RemoteException;

import org.uddi.v3_service.DispositionReportFaultMessage;

import antlr.collections.List;

import g6.UddiRegistration.JuddiManager;

public class TestImplementation {
	
	public static void main(String[] args) throws DispositionReportFaultMessage, RemoteException
	{
		String keywords = "payment";
			
		SearchEngineImplementation searchEngine = new SearchEngineImplementation();
		for(ServiceInfo result: searchEngine.search(keywords))
		{
			System.out.println(result.getUrl());
			System.out.println(result.getDescription() + "\n");
		}
	}

}
